/* 
 * File:   Street.h
 * Author: yuu
 *
 * Created on September 6, 2011, 7:12 PM
 */

#include "Buyable.h"
using namespace std;
#ifndef STREET_H
#define	STREET_H

class Street {
public:
    Street();
    Street(const Street& orig);
    Street(Buyable * houses, int nHouses);
    virtual ~Street();
    /**
     * increases the value of the stock auction on the street
     * @param i amount gained
     */
    void stockRaise(int i);
    /**
     * decreases the value of the stock auction on the street
     * @param i amount lost
     */
    void stockFall(int i);
    
private:
    /**
     * number of houses
     */
    int nHouses;
    Buyable * houses;
    int stockValue;

};

#endif	/* STREET_H */

